﻿using Abp.Dependency;
using Mall.Repository.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mall.Repository.RepositoryProgram
{
    public class DapperConfiguration : IDapperConfiguration, ISingletonDependency
    {
        public string ReadConnectionString { get; set; }

        public string WriteConnectionString { get; set; }
        //public DapperConfiguration(string readConnection, string writeConnection)
        //{
        //    ReadConnectionString = readConnection ?? throw new ArgumentNullException(nameof(readConnection));
        //    WriteConnectionString = writeConnection ?? throw new ArgumentNullException(nameof(writeConnection));
        //}
    }
}
